﻿using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;

public class Test3dRaycast : MonoBehaviour, IPointerEnterHandler, IPointerDownHandler{

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

	public void OnPointerEnter (PointerEventData eventData) {
		Debug.Log("OnPointerEnter");
	}

	public void OnPointerDown (PointerEventData eventData) {
		Debug.Log("OnPointerDown: " + eventData.position);
		Debug.Log ("Input.mousePosition: " + Input.mousePosition);
	}
}
